package com.diecolor.power.domain;

import java.io.Serializable;
import java.util.List;

public class GridBean<T> implements Serializable {

    private List<T> data;
    private Integer itemsCount;

    public GridBean(){}
    public GridBean(List<T> d,Integer c)
    {
        data=d;
        itemsCount=c;
    }
    public GridBean(List<T> d,Long c)
    {
        data=d;
        itemsCount=c.intValue();
    }
    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public Integer getItemsCount() {
        return itemsCount;
    }

    public void setItemsCount(Integer itemsCount) {
        this.itemsCount = itemsCount;
    }
}
